package com.example.abstractfactory8;

import com.example.abstractfactory8.factory.BreakFast;
import com.example.abstractfactory8.factory.Car;

/**
 * @version 1.0.0
 * @className: Bike
 * @description: 具体的产品角色--自行车
 * @author: zhangjunfa
 * @date: 2022/6/10 14:45
 */
public class Bike implements Car {

    /**
     * 上班
     */
    @Override
    public void gotoWork() {
        System.out.println("骑自行车去上班");
    }
}
